#include "LightParser.h"

LightParser::LightParser(void)
{
}

LightParser::~LightParser(void)
{
}

LightParser::LightParser(string id, int light_id, int enabled){
	this->id = id;
	this->light_i = GL_LIGHT0 + light_id;
	this->enabled = enabled;
}

/*void LightParser::setLight(){
	glLightfv(light_i, GL_AMBIENT, ambient);
	glLightfv(light_i, GL_DIFFUSE, diffuse);
	glLightfv(light_i, GL_SPECULAR, specular);

	glLightf(light_i, GL_CONSTANT_ATTENUATION, 0);
	glLightf(light_i, GL_LINEAR_ATTENUATION,1);
	glLightf(light_i, GL_QUADRATIC_ATTENUATION, 0);

	if(enabled)
		glEnable(light_i);
}*/

